package com.torlesse.authdemo.service.impl;

import com.torlesse.authdemo.dao.LogMapper;
import com.torlesse.authdemo.pojo.Log;
import com.torlesse.authdemo.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: torlesse-liang
 * @Date: 2022/02/19/17:33
 * @Description:
 */
@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private LogMapper logMapper;

    @Override
    public void saveLog(Log log) {
        logMapper.insert(log);
    }
}
